HYPERFLEET-1231: align error-model.md detail field with RFC 9457 and TypeSpec#175
Conversation
…with RFC 9457 and TypeSpec The Standard Fields table marked `detail` as Required=Yes, contradicting both RFC 9457 (SHOULD, not MUST) and the TypeSpec definition (`detail?: string`). Relax to Required=No and add SHOULD guidance to preserve the practical expectation that implementations always populate the field.
|
@kuudori: This pull request references HYPERFLEET-1231 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
@kuudori: This pull request references HYPERFLEET-1231 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
📝 WalkthroughWalkthroughUpdated Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
@kuudori: This pull request references HYPERFLEET-1231 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Mischulee The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@kuudori: This pull request references HYPERFLEET-1231 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
1 similar comment
|
@kuudori: This pull request references HYPERFLEET-1231 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
e7c3899
into
openshift-hyperfleet:main
Summary
detailfield from Required=Yes to Required=No in the Standard Fields table oferror-model.mddetaildetail?: string), generated OpenAPI (required: [type, title, status]), and RFC 9457 Section 3.1 (SHOULD, not MUST)Why
ADR-0003 establishes TypeSpec as the single source of truth for the API contract. The standard doc's Required=Yes contradicted both TypeSpec and RFC 9457 without documented justification. All existing implementations already populate
detailvia constructor patterns that require a reason string — this change is documentation-only with no behavioral impact.Ticket: HYPERFLEET-1231
Verification
error-model.md(this PR)model.tsp)detail?: stringrequired: [type, title, status]Test plan